package com.api.shopapi.service;

import com.api.shopapi.entity.ActivityOrderRecord;
import com.api.shopapi.entity.ActivityType;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ActivityOrderRecordService {

    int insert(ActivityOrderRecord activityOrderRecord);

    int delete(String activityOrderRecordCode);

    ActivityOrderRecord getByActivityOrderRecordCode(String activityOrderRecordCode);

    List<ActivityOrderRecord> ListByActivityOrderCode(String activityOrderCode);

    PageInfo<ActivityOrderRecord> PageByActivityOrderCode(int pageIndex, int pageSize, String activityOrderCode);


}
